package com.wisdomparking.dao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.wisdomparking.bean.Parking;

@Mapper
public interface ParkingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Parking record);

    int insertSelective(Parking record);

    Parking selectByPrimaryKey(Integer id);
    
    Parking selectByName(String name);
    
    Parking selectByIdentification(String identification);

    int updateByPrimaryKeySelective(Parking record);

    int updateByPrimaryKey(Parking record);
    
    List<Parking> getParkingList(Map<String, Object> map);
    
    long getCountByParking(Map<String, Object> map);
}